mediatek: fix IPv4 address missing on interface in failsafe mode for cudy ap3000-v1
authorMartin Nadvornik <[email protected]>
Mon, 15 Dec 2025 15:54:52 +0000 (16:54 +0100)
committerHauke Mehrtens <[email protected]>
Mon, 15 Dec 2025 23:17:32 +0000 (00:17 +0100)
commite5cd6461c905184db8f49692f931b20fec4b819e
tree6e472b4dfc4d4746058ed0fe272e112879e6bacd
parent36da03a6c16b6e6c0d16b1471635647e46028ebc
mediatek: fix IPv4 address missing on interface in failsafe mode for cudy ap3000-v1

cudy ap3000-v1 did not work correctly in failsafe mode
because the address 192.168.1.1 was missing on the eth0 inteface.
it was reachable via it's IPv6 link-local address however.
this commit fixes the issue.

Fixes: https://github.com/openwrt/openwrt/issues/20750
Signed-off-by: Martin Nadvornik <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21172
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface